package com.crm.model.vo.worklog;

import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description: 工作日志VO
 * @Author lixq-f
 * @Date 2021/6/25
 * @Version V1.0
 **/
@Data
public class WorkLogAddVO implements Serializable {


    private String logId;
    //客户ID
    private String customerId;

    @NotNull(message = "日志标题不能为空！")
    @Length(max = 30, message = "日志标题最多为30个字符！")
    private String logName;

    @NotNull(message = "日志类型不能为空！")
    private Short logType;

    @Length(max = 60000, message = "日志内容最多为60000个字符！")
    private String logContent;




}
